package com.atldy.redis.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @TableName t_user
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新增用户", description = "新增用户")
public class UserAddDTO {

    @ApiModelProperty("ID 编辑")
    private Integer id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("性别 0 女 男 1")
    private Integer sex;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}